<?php
include("backend.php");
if (!isset($noheader)){
include("header.php");
}
if (isset($mod)){

if (isset($file)&&!empty($file)){
 include ("modules/$mod/$file".".php");   
} else include ("modules/$mod/index.php");
//echo "</td></tr></table></div>";
} else { 
   
   include ("modules/thread/index.php");  
}
if (!isset($noheader)){
include("footer.php"); 
}
?>
